package com.hxzy.mapstruct;

import com.hxzy.controller.admin.category.req.CategoryClassAddReq;
import com.hxzy.controller.admin.category.req.CategoryClassEditReq;
import com.hxzy.entity.CategoryClass;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CategoryClassMapStruct {
    CategoryClassMapStruct INSTANCE= Mappers.getMapper(CategoryClassMapStruct.class);

    CategoryClass convert(CategoryClassAddReq req);

    CategoryClass convert(CategoryClassEditReq req);

}
